package observer;

import java.io.Serializable;

public class ChangeMessage implements Serializable {
    private static final long serialVersionUID = 3007558562464529708L;
    private Long temperature;
    private String airMessage;
    private Integer pressure;

    public Long getTemperature() {
        return temperature;
    }

    public void setTemperature(Long temperature) {
        this.temperature = temperature;
    }

    public String getAirMessage() {
        return airMessage;
    }

    public void setAirMessage(String airMessage) {
        this.airMessage = airMessage;
    }

    public Integer getPressure() {
        return pressure;
    }

    public void setPressure(Integer pressure) {
        this.pressure = pressure;
    }

    @Override
    public String toString() {
        return "ChangeMessage{" +
                "temperature=" + temperature +
                ", airMessage='" + airMessage + '\'' +
                ", pressure=" + pressure +
                '}';
    }
}
